package butterknife;

//import android.view.View;
//import androidx.annotation.NonNull;
//import androidx.annotation.UiThread;
import ohos.agp.components.Component;
import org.jetbrains.annotations.NotNull;

/** An action that can be applied to a list of views. */
public interface Action<T extends Component> {
  /** Apply the action on the {@code view} which is at {@code index} in the list. */
  //@UiThread
  void apply(@NotNull T view, int index);
}
